package org.llc.flink.study.hello


object HelloScala {

  def main(args: Array[String]): Unit = {

    printf(hello("hello ", "scala"))

    lazy val res = hello(10.toString, 20.toString)

    val hel = hello("hello ", "scala")
    val age: Double = 17

    println("say: " + hel)

    printf("say1=%s say2=%f\n", hel, age)

    println("say:  name=$hel age = ${age + 1}")

  }

  def hello(a: String, b: String): String = a + b

}
